<!-- 搜索框及工具条 -->
<div class="c-head-box">
    <form method="get" action="{:Url('agent_admin_tender_list')}">
        <ul>
            <li class="c-head-search">
                <!-- 搜索条件 -->
                <ul>
                    <li><span>投标编号：</span><input type="text" name="agent_admin_tender_id" value="{$agent_admin_tender_id}"/></li>
                    <li><span>客户池编号：</span><input type="text" name="user_pool_bid_id" value="{$user_pool_bid_id}"/></li>
                    <li><span>投标人公司编号：</span><input type="text" name="agent_id" value="{$agent_id}"/></li>
                    <li><span>发标人公司编号：</span><input type="text" name="cooperate_id" value="{$cooperate_id}"/></li>
                    <li><span>状态：</span>{:widget('common/Select/select',array('tender_status','tender_status',$tender_status))}</li>
                </ul>
            </li>
            <li class="c-head-button">
                <!-- 操作按钮 -->
                <div class="fr"><input type="submit" class="but_blue" value="搜索"></div>
            </li>
        </ul>
    </form>
</div>

<!--用户列表-->
<div class="lists-tab-cont">
    <div class="lists-table">
        <table class="pointer" cellpadding="0" cellspacing="0" border="0">
            <thead>
            <tr>
                <th style="width: 4%;" class="tabSort-header"><a class="tabSort-header-inner"><p>投标编号</p></a></th>
                <th style="width: 4%;" class="tabSort-header"><a class="tabSort-header-inner"><p>客户池编号</p></a></th>
                <th style="width: 4%;" class="tabSort-header"><a class="tabSort-header-inner"><p>投标人公司编号</p></a></th>
                <th style="width: 4%;" class="tabSort-header"><a class="tabSort-header-inner"><p>投标人公司名称</p></a></th>
                <th style="width: 4%;" class="tabSort-header"><a class="tabSort-header-inner"><p>投标人编号</p></a></th>
                <th style="width: 4%;" class="tabSort-header"><a class="tabSort-header-inner"><p>投标人名字</p></a></th>
                <th style="width: 4%;" class="tabSort-header"><a class="tabSort-header-inner"><p>发标人公司编号</p></a></th>
                <th style="width: 4%;" class="tabSort-header"><a class="tabSort-header-inner"><p>发标人昵称</p></a></th>
                <th style="width: 4%;" class="tabSort-header"><a class="tabSort-header-inner"><p>贷款金额</p></a></th>
                <th style="width: 15%;" class="tabSort-header"><a class="tabSort-header-inner"><p>投标说明</p></a></th>
                <th style="width: 4%;" class="tabSort-header"><a class="tabSort-header-inner"><p>状态</p></a></th>
                <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>投标时间</p></a></th>
                <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>操作</p></a></th>
            </tr>
            </thead>
            <tbody>
            {foreach name="agent_admin_tender_list" item="info"}
            <tr>
                <td>{$info.agent_admin_tender_id}</td>
                <td>{$info.user_pool_bid_id}</td>
                <td>{$info.agent_id}</td>
                <td>{:widget('common/Name/agent',array($info['agent_id']))}</td>
                <td>{$info.agent_admin_id}</td>
                <td>{empty name='$info.agent_admin_real'}--{else/}{$info.agent_admin_real}{/empty}</td>
                <td>{$info.cooperate_id}</td>
                <td>{$info.cooperate_admin_name}</td>
                <td>{$info.money}</td>
                <td title="{$info.tender_note}">{$info.tender_note}</td>
                <td>{:widget('common/Color/Color',array("tender_status",$info['tender_status']))}</td>
                <td>{$info.bid_time}</td>
                <td>
                    <a data-type="info-win" data-src="{:Url('agent_admin_tender_info',array('agent_admin_tender_id'=>$info['agent_admin_tender_id']))}" data-title="详情" data-width="80%" data-height="80%" class="blue">详情</a>
                </td>
            </tr>
            {/foreach}
            </tbody>
        </table>
    </div>

    <!-- 翻页模板 -->
    <div class="page">
        {$Think.config.page_html}
    </div>
</div>